package com.techstar.api.pojo.public_transport;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateDeserializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@ToString
@Table(name = "gis_public_transport_road_traffic_monitor_videos")
@org.hibernate.annotations.Table(appliesTo = "gis_public_transport_road_traffic_monitor_videos", comment="gis 摄像头点位置信息")
public class RoadTrafficMonitorVideos {

    @Id
    @Column(columnDefinition="varchar(100) COMMENT '镜头标识'")
    private String monit_id;
    @Column(columnDefinition="varchar(100) COMMENT '镜头编码'")
    private String monit_code;
    @Column(columnDefinition="varchar(100) COMMENT '镜头名称'")
    private String monit_name;
    @Column(columnDefinition="varchar(100) COMMENT '镜头类型'")
    private String monit_kind;
    @Column(columnDefinition="varchar(100) COMMENT 'dvr地址端口'")
    private String dvr_path;
    @Column(columnDefinition="varchar(100) COMMENT 'dvr名称'")
    private String dvr_name;
    @Column(columnDefinition="varchar(100) COMMENT '通道号'")
    private String channel_no;
    @Column(columnDefinition="varchar(100) COMMENT '经度'")
    private String lon;
    @Column(columnDefinition="varchar(100) COMMENT '纬度'")
    private String lat;
    @Column(columnDefinition="varchar(100) COMMENT '状态'")
    private String state;
    @Column(columnDefinition="varchar(100) COMMENT '视频监控类别'")
    private String monit_type;
    @Column(columnDefinition="varchar(100) COMMENT '父领域'")
    private String parentid;
    @Column(columnDefinition="varchar(100) COMMENT '子领域'")
    private String field;
    @Column(columnDefinition="varchar(100) COMMENT '枢纽名称'")
    private String hub_name;
    @Column(columnDefinition="varchar(100) COMMENT '楼层'")
    private String floor_no;
    @Column(columnDefinition="varchar(100) COMMENT '更新时间'")
    @JsonDeserialize(using = StrDateDeserializer.class)
    private String update_time;



}
